<template>
    <h2 id="font-class-">UiIncreaseNumber 数字增长效果</h2>
    <h4>按钮属性</h4>
    <div class="component_item">
        <div class="p_20">
            <UiIncreaseNumber :number="val" />
        </div>
        <pre class="code top_no_radius" v-pre>
    &lt;UiIncreaseNumber :number="val" /&gt;<br/>
    import { UiIncreaseNumber } from 'yong-ui'
    import { ref } from 'vue'

    const val = ref(1)
    setTimeout(() => {val.value = 99070}, 100)
        </pre>
    </div>
    <p class="mt20">formate属性可以设置格式化数字</p>
    <div class="component_item">
        <div class="p_20">
            <UiIncreaseNumber :number="val" formate/>
        </div>
        <pre class="code top_no_radius" v-pre>
    &lt;UiIncreaseNumber :number="val" formate /&gt;<br/>
    import { UiIncreaseNumber } from 'yong-ui'
    import { ref } from 'vue'

    const val = ref(1)
    setTimeout(() => {val.value = 99070}, 100)
        </pre>
    </div>
</template>
<script setup>
// import {UiButton} from 'yong-ui'
import { UiIncreaseNumber } from '../components'
import { ref } from 'vue'

const val = ref(1)
setTimeout(() => {val.value = 99070}, 100)
</script>